package com.lyf.boot.modules.system.entity.dto;

import com.lyf.boot.core.model.BasePageDto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Luyufan
 * @date 2023/8/15 15:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OssConfigPageDto extends BasePageDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -284925808508964916L;

    private String platformType;

    private String platform;

    @Range(min = 0, max = 1, message = "状态取值只能是0或1")
    private Integer status;
}
